finding the axis of symmetry of an equation in general form